<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <title>男装专区</title>
    <link rel="stylesheet" type="text/css" href="<%=path %>/statics/css/loaders.min.css"/>
    <link rel="stylesheet" type="text/css" href="<%=path %>/statics/css/loading.css"/>
    <link rel="stylesheet" type="text/css" href="<%=path %>/statics/css/base.css"/>
    <link rel="stylesheet" type="text/css" href="<%=path %>/statics/css/style.css"/>
      <script src="<%=path %>/statics/js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
    <script type="text/javascript">
    	$(window).load(function(){
    		$(".loading").addClass("loader-chanage")
    		$(".loading").fadeOut(300)
    	})
    </script>
</head>
<!--loading页开始-->
<div class="loading">
	<div class="loader">
        <div class="loader-inner pacman">
          <div></div>
          <div></div>
          <div></div>
          <div></div>
          <div></div>
        </div>
	</div>
</div>
<!--loading页结束-->
<body>
	<header class="top-header">
			<a class="icona" href="<%=path %>/user/sys/self.html">
					<img src="<%=path %>/statics/images/left.png"/>
				</a>
			<h3>我的资料</h3>
			<a class="iconb" href="shopcar.html">
			</a>
	</header>
	
	<div class="contaniner">
		<ul class="self-data">
			<li>
				<a href="">
					<p>头像</p>
					<span><img src="<%=path %>/statics/images/right.png"/></span>					
					<figure><img src="<%=path %>${user.nameurl }"/></figure>
				</a>
			</li>
			<li>
				<a href="<%=path%>/user/sys/namechange.html?username=${user.userName }">
					<p>昵称</p>
					<span><img src="<%=path %>/statics/images/right.png"/></span>
					<small>${user.userName }</small>
					
				</a>
			</li>
			<li>
				<a href="">
					<p>性别</p>
					<span><img src="<%=path %>/statics/images/right.png"/></span>
						<select name="sex">
					<c:if test="${user.sex == 1}">
				
						<option value="1">男</option>
						<option value="0">女</option>
					
					</c:if>
						<c:if test="${user.sex == 0}">
				
						
						<option value="0">女</option>
					<option value="1">男</option>
					</c:if>
					</select>
					
					
				</a>
			</li>
		</ul>
	</div>
	
	
	
	

</body>
</html>